As-You-Type Checking (RapidSpellAsYouType)

To use the as-you-type checker, RapidSpellAsYouType with one or many text boxes should be fairly simple. RapidSpellAsYouType can work with any TextBoxBase derived text box (e.g. standard .NET textboxes) and any class which implements IAYTTextBox.

Example Code (AsYouTypeExample.cs)

Minimal requirements for as-you-type checking with RichTextBox.

using System;
using System.Drawing;
using System.Windows.Forms;
using Keyoti.RapidSpell;

public class AsYouTypeExample : Form{

    RapidSpellAsYouType rs =new RapidSpellAsYouType();
    RichTextBox tb = new RichTextBox();

    public AsYouTypeExample() : base() {
        Size = new Size(508,380);

        tb.Size = new Size(500,352);
        tb.Multiline = true;
        tb.WordWrap = true;
        Controls.Add(tb);

        rs.AddTextBoxBase(tb);
    }

    public static void Main(String[] args) {
        Application.Run( new AsYouTypeExample() );
    }
}

Use the AddTextBoxBase (or AddTextComponent) method to add additional textboxes to check.

Spell checking a ComboBox

The AYTComboBox control can be hooked up to RapidSpellAsYouType to enable spell checking in a ComboBox. AYTComboBox is a subclass of the .NET class ComboBox, and can be used as a direct replacement (it is safe to manually change the designer file to use AYTComboBox).

this.comboBox1 = new AYTComboBox();
...
rapidSpellAsYouType1.AddTextComponent(comboBox1);

Using RapidSpellAsYouType With TX Text Control

To use RapidSpell with TX Text Control it is necessary to reference the Keyoti.RapidSpell.NET2.TXSupportv1X.DLL instead of Keyoti.RapidSpell.NET2 .DLL.

For TX v15.1 and down - please see an in depth article on FULL integration with TX we have prepared:

http://keyoti.com/kb/Default.aspx?ToDo=view&questId=97&catId=44

For TX v16 and up - please see this page

Also, the included Visual Studio demos include TX specific examples.

DevExpress XtraGrid & MemoExEdit

DevExpress support is provided via a "Glue" class RapidSpell_DevExpressAdapter_Glue which is provided in source form in the included Visual Studio demo projects. Use with DevExpress is DLL version agnostic, and no extra support DLL is required. Please see the following KB articles

http://keyoti.com/kb/Default.aspx?ToDo=view&questId=139&catId=44

http://keyoti.com/kb/Default.aspx?ToDo=view&questId=140&catId=44

As-You-Type With Other 3rd Party Controls

RapidSpellAsYouType currently also works with: Infragistics UltraGrid, Janus GridEX and Janus EditBox.

If a 3rd party control conforms, or can be made to conform to the requirements of the IAYTTextBox interface, then it should be as-you-type checkable. This is a simple benefit of object orientation, however in practice this interface may be hard to implement and some tweaking may be necessary for proper results.